package com.example.bus.demos.web.service;

import com.example.bus.demos.web.entity.BusRoute;

import java.util.List;

public interface BusRouteService {
    List<BusRoute> getAllRoutes();
    BusRoute getRouteById(Long id);
    void addRoute(BusRoute busRoute);
    void updateRoute(BusRoute busRoute);
    void deleteRoute(Long id);
    List<BusRoute> searchByRouteName(String routeName);
    List<BusRoute> searchByRouteNumber(String routeNumber);
}
